package org.tailor

class Rating {
    long ratingID
    int score
    Date ratingDate
    
  //  static belongsTo=[shirt:Shirt,client:Client]
 //   static belongsTo=Client
    
    static constraints = {
        ratingID(blank:false, unique:true)
        score(min:0, max:5)
    }
}
